package com.adinnet.admin.organization.mapper;

import com.adinnet.admin.organization.model.Organization;
import com.adinnet.admin.organization.model.vo.OrganizationResp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 机构表 Mapper 接口
 * </p>
 *
 * @author liukp
 * @since 2020-12-05
 */
public interface OrganizationMapper extends BaseMapper<Organization> {

    String getOrganizationAdminName(@Param("id") Integer id);

    List<OrganizationResp> organizationList(Page<OrganizationResp> objectPage, @Param("keyword") String keyword);
}
